package com.zzy.system.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zzy.system.domain.GuanmaiCustomer;
import com.zzy.system.domain.GuanmaiSku;
import com.zzy.system.mapper.GuanmaiCustomerMapper;
import com.zzy.system.mapper.GuanmaiSkuMapper;
import com.zzy.system.service.IGuanmaiCustomerService;
import com.zzy.system.service.IGuanmaiSkuService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class GuanmaiCustomerServiceImpl extends ServiceImpl<GuanmaiCustomerMapper, GuanmaiCustomer> implements IGuanmaiCustomerService {
    private static final Logger log = LoggerFactory.getLogger(GuanmaiCustomerServiceImpl.class);


    @Override
    public void saveCustomerList(List<GuanmaiCustomer> guanmaiCustomerList) {
        if(guanmaiCustomerList != null && !guanmaiCustomerList.isEmpty()){
            this.saveBatch(guanmaiCustomerList);
        }

    }
}